home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / LPC / ed1 < prev    next >
Text File  |  2001-04-06  |  1KB  |  33 lines

  1. NAME
  2.         ed1
  3.  
  4. DESCRIPTION
  5.         Commands that use a line range:
  6.         If no line is given, then curent line is printed.
  7.  
  8.         p        Print line.
  9.         d        Delete line.
  10.         l        Print line with control characters.
  11.         r file        Read in a file after the line specified.
  12.         s        Substitute patterns. See special documentation.
  13.         z        Print 10 lines.
  14.         a        Start insert mode after specified line. Exit with
  15.                 '.'<return>.
  16.         i        Start insert mode before specified line. Exit with
  17.                 '.'<return>.
  18.  
  19.         Commands used without line specification:
  20.  
  21.         q        Quit. Won't work if file is changed.
  22.         Q        Quit and discard all changes if not saved.
  23.         w        Write the file out.
  24.         w file        Write the file out with name 'file'.
  25.         e file        Edit a file.
  26.         !cmd        Give a game command. For example "say Wait, I am busy".
  27.  
  28.         As line numbers '.' is current line, and '$' is last line of
  29.         file. Thus '1,$p' will always print all of the file.
  30.  
  31. SEE ALSO
  32.         ed2(LPC)
  33.